package myadmin.jtthink.com.Models;

import lombok.Data;

@Data
public class PageInfo {
    private long total;
    private long size;
    private long current;

    public static PageInfo build(long total, long size, long current){
        return new PageInfo(total,size,current);
    }
    public PageInfo(long total, long size, long current) {
        this.total = total;
        this.size = size;
        this.current = current;
    }
}
